<template>

	<div class="homeBox">
 <div id="setJiaoyiMima">

        <p class="content">请您设置6位数交易密码，交易密码再订单支付时使用</p>
        <div class="wrap">
            <div class="inputBoxContainer" id="inputBoxContainer">
                <input type="text" class="realInput"/>
                <div class="bogusInput">
                    <input type="password" maxlength="6" disabled/>
                    <input type="password" maxlength="6" disabled/>
                    <input type="password" maxlength="6" disabled/>
                    <input type="password" maxlength="6" disabled/>
                    <input type="password" maxlength="6" disabled/>
                    <input type="password" maxlength="6" disabled/>
                </div>
            </div>

            <!--<button id="confirmButton" class="confirmButton">确定</button>-->
            <p class="showValue" id="showValue"></p>
        </div>


        <div  id="confirmButton">

        </div>
        <div class="mimaBtn">
            <button id="setBtns">确定</button>
        </div>


        <!--设置交易密码弹窗-->
        <div class="setAlertWrap">
            <div class="setAlert">
                <p></p>
            </div>
        </div>

        <div class="tishiWrap">
            <p></p>
        </div>
    </div>
	</div>
</template>

<script>
	export default {

     name:'six',

     data() {
        return {
        	message:111
        }
       },
     methods: {
       click() {}
     },
//   components: {
//     AppHeader
//   }
	}
</script>

<style lang="scss" scoped>
  .homeBox {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    background-color: #eee;
  }
  .wrap{
            margin: 1rem auto;
            width: 100%;
            /*height: 640px;*/
            /*padding-top: 200px;*/
        }
        .inputBoxContainer{
            width: 90%;
            height: 5rem;
            margin: 0 auto;
            position: relative;
        }
        .inputBoxContainer .bogusInput{
            width: 100%;
            height: 100%;
            /*border: #c3c3c3 1px solid;*/
            border: 0;
            /*border-radius: 7px;*/
            /*-moz-border-radius: 7px;*/
            /*-webkit-border-radius: 7px;*/
            overflow: hidden;
            position: absolute;
            z-index: 0;
        }
        .inputBoxContainer .realInput{
            width: 100%;
            height: 100%;
            position: absolute;
            top:0;
            left: 0;
            z-index: 1;
            filter:alpha(opacity=0);
            -moz-opacity:0;
            opacity:0;
        }
        .inputBoxContainer .bogusInput input{
            padding: 0;
            width: 16.4%;
            height: 100%;
            float:left;
            background: #ffffff;
            text-align: center;
            font-size: 2rem;
            border: none;
            border-right: #eeeeee 1px solid;
        }
        .inputBoxContainer .bogusInput input:last-child{
            border: none;
        }
        .content{
            width: 100%;
            text-align: center;
            font-size: 1.5rem;
            color: #333333;
            margin-top: 2rem;
        }
        .showValue{
            width: 240px;
            height: 22px;
            line-height: 22px;
            font-size: 16px;
            text-align: center;
            margin: 0 auto;
            display: none;
        }
        .tishiWrap {
            width: 60%;
            background:rgba(0,0,0,0.4);
            display: none;
            height: 3rem;
            line-height: 3rem;
            border: 1px solid #cccccc;
            color: white;
            text-align: center;
            border-radius: 3rem;
            margin: auto;
            margin-top: 1rem;
        }
        #setJiaoyiMima{
  width: 100%;
  margin: auto;
  .setMima{
    width: 100%;
    margin: auto;
    text-align: center;
    //margin-top: 2rem;
    color: #333333;
  }
  .inputMima{
    width: 96%;
    height: 4rem;
    margin: auto;
    border: 1px solid #333333;
    //border: 1px solid;
    //overflow: hidden;
    background: white;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    div{
      height: 100%;
      border: 1px solid #333333;
      input{
        width: 90%;
        height: 90%;
        text-align: center;
        outline: none;
        border: 0;
      }
    }
  }
  .mimaBtn{
    width: 100%;
    margin-top: 7rem;
    text-align: center;
    button{
      width: 90%;
      height: 3.2rem;
      line-height: 3.2rem;
      background: #32D69C;
      text-align: center;
      color: white;
      border: 0;
      outline: none;
      border-radius: 2rem;
      font-size: 1.4rem;
    }
  }
}

//设置交易密码弹窗
.setAlertWrap{
  width: 100%;
  //border: 1px solid;
  position: absolute;
  bottom: 24rem;
  margin: auto;
  display: none;
  .setAlert{
    width: 70%;
    height:12rem;
    border: 1px solid #CCCCCC;
    border-radius: 1.6rem;
    background:#f3f3f3;
    margin: auto;
    p{
      font-size: 2rem;
      height: 3rem;
      line-height: 3rem;
      text-align: center;
      margin-top: 1rem;
    }
  }
}

.code2007{
  width: 100%;
  //border: 1px solid;
  position: absolute;
  bottom: 24rem;
  margin: auto;
  display: none;
  .code200702{
    width: 70%;
    height:12rem;
    border: 1px solid #CCCCCC;
    border-radius: 1.6rem;
    background:#f3f3f3;
    margin: auto;
    p{
      font-size: 2rem;
      height: 3rem;
      line-height: 3rem;
      text-align: center;
      margin-top: 1rem;
    }
  }
}
</style>
